import request from '@/utils/request'

// 查询服务区域其他单价列表
export function listDeliveryPrice(query) {
  return request({
    url: '/fee/deliveryPrice/list',
    method: 'get',
    params: query
  })
}

// 查询服务区域其他单价详细
export function getDeliveryPrice(id) {
  return request({
    url: '/fee/deliveryPrice/' + id,
    method: 'get'
  })
}

// 新增服务区域其他单价
export function addDeliveryPrice(data) {
  return request({
    url: '/fee/deliveryPrice',
    method: 'post',
    data: data
  })
}

// 修改服务区域其他单价
export function updateDeliveryPrice(data) {
  return request({
    url: '/fee/deliveryPrice',
    method: 'put',
    data: data
  })
}

// 删除服务区域其他单价
export function delDeliveryPrice(id) {
  return request({
    url: '/fee/deliveryPrice/' + id,
    method: 'delete'
  })
}
